home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Inspectors / InspectMe / InspectMe.nib (.txt) < prev    next >
NeXT TypedStream Data  |  1995-06-12  |  7KB  |  153 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [679c]
  8. typedstream
  9.     HashTable
  10. Object
  11. FirstResponder
  12. HeaderClass
  13. %%%%i@@
  14. firstnib
  15. checkSpelling:
  16. alignSelCenter:
  17.     unscript:
  18. pasteFont:
  19. runPageLayout:
  20. superscript:
  21. copyRuler:
  22.     copyFont:
  23. selectAll:
  24. pasteRuler:
  25. toggleRuler:
  26. showGuessPanel:
  27. alignSelLeft:
  28. paste:
  29. performClose:
  30. arrangeInFront:
  31. subscript:
  32. copy:
  33. alignSelRight:
  34. delete:
  35. orderFrontColorPanel:
  36. underline:
  37. performMiniaturize:
  38. InspectMeApp
  39. Application
  40. /usr/include/sys/message.h
  41. appnib
  42. inspectorManager
  43. newDocWindow:
  44. displayInspectorPanel:
  45. [6079c]
  46. typedstream
  47.     HashTable
  48. Object
  49. NibData
  50. @@@@s
  51. Storage
  52. {*@@}
  53.     [32{*@@}]
  54. File's Owner
  55. CustomObject
  56. InspectMeApp
  57. MainMenu
  58. MenuTemplate
  59. *@*@ccc
  60.     InspectMe
  61. Matrix
  62. Control
  63.     Responder
  64. @:@iiii
  65. MenuCell
  66. ButtonCell
  67. ActionCell
  68. Info...
  69.     Helvetica
  70. Paste
  71. Select All
  72. ff@@#::s
  73. submenuAction:
  74. Bitmap
  75.     menuArrow
  76. Inspector...
  77. New window
  78. Windows
  79. Arrange in Front
  80. Miniaturize Window
  81. Close Window
  82. WindowTemplate
  83. iiii***@s@
  84. Panel
  85. [13@]
  86.     TextField
  87. TextFieldCell
  88. 'Kevin Brain (ksbrain@zeus.UWaterloo.ca)
  89. 5an example of the usage of the InspectorManager class
  90. Version 2.0
  91. Button
  92. NXImage
  93. InspectMeIcon
  94. BJuly 1992, University of Waterloo.  Released to the public domain.
  95. InspectMe!
  96. Times-BoldItalic$
  97. 8Create multiple windows and 
  98. inspect the Things in them.
  99. Readme!
  100. Button1
  101. Field2
  102. VersionNumber
  103. Field
  104. Field1
  105. Field4
  106. Field3
  107. Field5
  108. Field6
  109. Field7
  110. Field8!
  111. Window
  112. About InspectorManager...
  113. ScrollView
  114. ClipView
  115. ciifffcfffs
  116. [2248c]{\rtf0\ansi{\fonttbl\f1\fmodern Courier;\f0\fswiss Helvetica;}
  117. \margl40
  118. \margr40
  119. {\colortbl\red0\green0\blue0;}
  120. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f1\b\i0\ul0\fs28\fc0 InspectorManager\
  121. \b0\fs24 InspectorManager is a class that manages the displaying of elements of a list of view objects that are periodically displayed and removed from a window.  One obvious use of this is for implementing an inspector panel (hence the name), but the functionality of this class is really not specific to inspectors.  Despite the terminology used, InspectorManager could be useful for other purposes, such as a multi-view preferences panel.  (I considered changing the name to something that more closely reflects this, but eventually decided not to.)  It was designed to be flexible enough to handle inspector functionality for just about any application.\
  122. Basically, you give InspectorManager "inspector views" (such as boxes with controls in them) and tell it when you want it to display one of them.  When a selection is made via the group popup, InspectorManager messages a delegate and lets the delegate determine which inspector needs to be shown.  This allows total flexibility - a single popUpList item (eg. 'Contents' in Workspace Manager) may bring up one of many actual inspectors (eg. '.snd', '.tiff', '.h', etc.) - but you are required to write the code that determines which inspector needs to be shown. \
  123. \ul Features of InspectorManager class:
  124. \ul0 \
  125. 1) PopUpList items are not tied to particular inspectors, so that an inspector appropriate for the currently selected object can be shown.\
  126. 2) Allows inspector views laid out in any of an application's nib files to be managed by a single InspectorManager.\
  127. 3) Uses command-key equivalents for switching between inspectors and displaying the panel (as is done in Workspace Manager and Interface Builder).\
  128. 4) Uses compositing to an offscreen buffer to speed swaps between inspectors.  This feature may be disabled if desired.    \
  129. 5) Allows an inspector view to consist of multiple smaller views, if desired.\
  130. Complete documentation for the class is given in the file InspectorManager.rtf.\
  131. Kevin Brain\
  132. ksbrain@zeus.UWaterloo.ca \
  133. NXCursor
  134. NXibeam
  135. Scroller
  136. _doScroller:
  137. @@@ffsG
  138. ScrollingText;5
  139. {i*@@@}
  140. [15{i*@@@}]
  141. hide:
  142. terminate:
  143. copy:
  144. paste:
  145. selectAll:
  146. newDocWindow:
  147. displayInspectorPanel:
  148. orderFront:
  149. performMiniaturize:
  150. performClose:
  151. arrangeInFront:
  152. delegate5
  153.